package cn.project.xigui.filter;

import javax.servlet.*;
import javax.servlet.annotation.*;
import java.io.IOException;
/*
* urlPatterns配置方式
* 精确匹配:   /admin.html   /product/delete
* 后缀匹配:  *.jpg    *.html    *.xxx
* 路径匹配:    /user/*     /product/*
* */
@WebFilter(filterName = "xiGuiFilter" )
public class xiGuiFilter implements Filter {
    public void init(FilterConfig config) throws ServletException {
    }

    public void destroy() {
    }

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException {
        chain.doFilter(request, response);
    }
}
